package com.publicize.mapper;

import com.publicize.entity.Module;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.publicize.entity.Vo.QueryVo;
import com.publicize.entity.Vo.ResultVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 投稿信息表 Mapper 接口
 * </p>
 *
 * @author bs
 * @since 2021-03-03
 */
public interface ModuleMapper extends BaseMapper<Module> {
    List<ResultVo> selectByConditions(@Param("queryVo") QueryVo queryVo);
    int getModuleCount(@Param("queryVo") QueryVo queryVo);
}
